package com.drxx.dao;

import com.drxx.bean.UserInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class UserInfoDao {

    public UserInfo findById(int id){

        return  new UserInfo(12,"wangzg","男","123456");
    }

    public int insert(List<UserInfo> userInfoList){
        return userInfoList.size();
    }

}
